const express = require('express')
const userRouter = require('./userRouter')
const adminRouter = require('./adminRouter')
const app = express()

app.use(userRouter)
app.use(adminRouter)
app.all('/{*path}', (req, res) => {
	res.status(404).send('<h1>404 NOT FOUND</h1>')
})
app.listen(9000, () => {
	console.log('开启监听')
})